// import React from "react";
// import ReactDOM from "react-dom";
import React from "./LcReact";
const ReactDOM = React;
const useState = React.useState;

let h1 = <h1>helloworld</h1>;
let h2 = React.createElement("h1", { child: "helloworld" });
console.log(h1);
console.log(h2);

function App() {
  let [count, setCount] = useState(0);
  return (
    <div>
      <h1>点击次数 {{ count }}</h1>
    </div>
  );
}
var html = (
  <div id="content" name="hello">
    <h1>hello 老陈！</h1>
  </div>
);
console.log(html);
ReactDOM.render(html, document.getElementById("root"));
